// import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App.tsx";
import "normalize.css";
import { Provider } from "react-redux";
import store from "./store/index.ts";
import { BrowserRouter } from "react-router-dom";
import "amfe-flexible";
import zhCN from "antd/locale/zh_CN";
import {theme} from './utils/theme.ts'
import { ConfigProvider } from "antd";
createRoot(document.getElementById("root")!).render(
  // <StrictMode>
    <Provider store={store}>
      <BrowserRouter>
        <ConfigProvider locale={zhCN} theme={theme}>
          <App />
        </ConfigProvider>
      </BrowserRouter>
    </Provider>
  // </StrictMode>
);
